package com.dingding.common.core.message;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * @ClassName: AbstractMessage 
 * @Description: 微信端消息的基类
 * @author fengshuonan
 * @date 2015年10月17日 上午11:59:03
 */
public abstract class AbstractMessage {

	//接受方账号
	@XStreamAlias("ToUserName")
	protected String toUserName;
	
	//发送方账号
	@XStreamAlias("FromUserName")
	protected String fromUserName;
	
	//消息创建时间
	@XStreamAlias("CreateTime")
	protected String createTime;
	
	//消息类型
	@XStreamAlias("MsgType")
	protected String msgType;

	
	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
	
		
}
